<template>
  <n-message-provider>
    <n-layout style="height: 100vh">
      <n-layout-header style="height: 64px" bordered>
        <Header />
      </n-layout-header>
      <n-layout position="absolute" class="content" :native-scrollbar="false">
        <Demo />
      </n-layout>
    </n-layout>
  </n-message-provider>
</template>

<script setup>
import Header from '@/components/Header.vue'
import Demo from '@/components/Demo.vue'
</script>

<style scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

.content {
  top: 64px;
  min-height: calc(100vh - 64px);
  background: #f5f7fa;
}
</style>
